/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.ykkj.plant.base.detail.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.ykkj.plant.base.detail.entity.PlantDetail;
import com.ykkj.plant.base.detail.dao.PlantDetailDao;

/**
 * 植物详情管理Service
 * @author Wrong
 * @version 2016-10-09
 */
@Service
@Transactional(readOnly = true)
public class PlantDetailService extends CrudService<PlantDetailDao, PlantDetail> {

	public PlantDetail get(String id) {
		return super.get(id);
	}
	
	public List<PlantDetail> findList(PlantDetail plantDetail) {
		return super.findList(plantDetail);
	}
	
	public Page<PlantDetail> findPage(Page<PlantDetail> page, PlantDetail plantDetail) {
		return super.findPage(page, plantDetail);
	}
	
	@Transactional(readOnly = false)
	public void save(PlantDetail plantDetail) {
		super.save(plantDetail);
	}
	
	@Transactional(readOnly = false)
	public void delete(PlantDetail plantDetail) {
		super.delete(plantDetail);
	}
	
}